.ys-form .ys-input-item{
    margin: 10px 0;
}
.ys-input{
    line-height: 36px;
    height:36px;
    padding:0 15px;
    width: 100%;
    border: 1px solid #ddd;
}
.ys-textarea{
    border: 1px solid #ddd;
    padding:10px 15px;
    min-height: 120px;
}
.ys-input:hover,.ys-textarea:hover{
    border: 1px solid #3cc47c;
}
.ys-input.ys-disabled:hover{
    border: 1px solid #efefef;
}
.ys-form .ys-select,.ys-form input[type="checkbox"],.ys-form input[type="radio"]{
    display: none;
}

dd.ys-disabled:hover{
    background-color: #fff!important;
}
.ys-select-block,.ys-input-block{
    position: relative;
}
dl.ys-select-options{
    position: absolute;
    top:44px;
    display: none;
    left:0;
    right:0;
    z-index: 888;
    background-color: #fff;
    box-shadow: 0 0 4px #c9c9c9;
    max-height: 300px;
    overflow:auto;
    padding:10px 0
}
dl.ys-select-options dd{
    line-height: 36px;
    transition: all 0.35s;
    padding: 0 15px;
    cursor: pointer;
}
dl.ys-select-options dd:first-child{
    color: #888
}
dl.ys-select-options dd:hover{
    background-color:#efefef;
}
dl.ys-select-options dd.ys-on{
    background-color:#3cc47c;
    color:#fff;
}
.ys-select-tit{
    position: relative;
}
.ys-select-block .ys-triangle-down{
    position: absolute;
    right:15px;
    top:15px;
    transition: all 0.35s;
}
/*checkBox*/
.ys-checkbox-block,.ys-radio-block{
    margin-right: 15px;
    height: 20px;
    line-height: 18px;
}
.ys-checkbox-block *,.ys-checkbox-block,.ys-radio-block *,.ys-radio-block{
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.35s;
}
.ys-checkbox-block .ys-icon-ok-2{
    font-size: 20px;
    color:#d2d2d2;
    font-weight: normal;
}
.ys-checkbox-block:hover .ys-icon-ok-2{
    color:rgba(0,150,136,0.3);
}
.ys-checkbox-block.ys-on .ys-icon-ok-2{
    color:#3cc47c;
}
.ys-checkbox-block.ys-on .ys-icon-ok-2:before{
    content: "\ebf1";
}
.ys-checkbox-block span{
    margin: 0 5px 0 5px;
}
.ys-checkbox-switch{
    height:24px;
    border-radius: 20px;
    position: relative;
    vertical-align: middle;
    line-height:19px;
    text-align: right;
    padding: 0 5px 0 20px;
    border:1px solid #d2d2d2;
    color:#d2d2d2;
    transition: .3s linear;
    box-sizing: border-box;
    font-size: 12px;
}
.ys-checkbox-switch i{
    position: absolute;
    left:5px;
    top:3px;
    width: 16px;
    height:16px;
    border-radius: 16px;
    background-color:#d2d2d2
}
.ys-checkbox-switch.ys-on{
    background-color:#3cc47c;
    border:1px solid #3cc47c;
    color:#fff;
    padding: 0 20px 0 5px;
}
.ys-checkbox-switch.ys-on i{
    background-color: #fff;
    left:auto;
    right:5px;
}
/*radio*/
.ys-radio-block{
    height:20px;
    line-height: 20px;
    margin-right: 20px;
}
.ys-radio-block i{
    position: relative;
    display: inline-block;
    width: 20px;
    height:20px;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 20px;
    border:1px solid #d2d2d2;
    margin-right: 5px;
}
.ys-radio-block.ys-on i,.ys-radio-block:hover i{
    border:1.5px solid #3cc47c;
}
.ys-radio-block.ys-disabled:hover i{
    border:1px solid #ededed;
}
.ys-radio-block.ys-on i:before{
    content: '';
    position: absolute;
    top:50%;
    left:50%;
    width: 12px;
    margin-left: -6px;
    margin-top: -6px;
    height:12px;
    background-color:#3cc47c;
    border-radius: 12px;
    transform: scale(0.8);
}
.ys-input-clear{
    display: none;
    position: absolute;
    right:30px;
    top:8px;
    color:#d2d2d2;
    font-size: 20px;
    height: 20px;
    line-height: 20px;
    transition: all .35s;
    opacity: 0.8;
}
.ys-input:hover+.ys-input-clear,.ys-textarea:hover+.ys-input-clear{
    display: block;
}
.ys-input-clear:hover{
    display: block;
    color:#ff3030;
    cursor: pointer;
    opacity: 1;
}
.ys-input-error{
    height: 20px;
    line-height: 20px;
    position: absolute;
    left:10px;
    bottom:-20px;
    content: '*错误';
    font-size: 10px;
    color:#ff3030;
}